package com.hdaccp.shuiguoD.service;

import com.hdaccp.shuiguoD.entity.Kehu;

import java.util.List;

public interface KehuService {
    public List<Kehu> getAll();

    public long findTotalCount(String kname);
    public List<Kehu> findAll(String kname, int offset, int limit);

    public int delte(int kid);

    public int zj(Kehu kehuinfo);

    public int update(Kehu kehuinfo);


    /**
     * 根据ID查询
     * @param kid
     * @return
     */
    public Kehu queryById(int kid);
}
